package com.igeek.boot.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserCustomMapper {

    //<script> 判断
    @Select("select u.name from orders o join user u on o.user_id=u.id where o.id=#{oid}")
    public String selectOrdersAndUser(@Param("oid") int oid);

}
